<?php

require_once './db_conn.php';
header("content-type:text/html;charset=utf-8");
$conn;
$connunt = $_POST['username'];
$password = md5($_POST['password']);
$login_time = time();

$sql = "
 INSERT INTO  `tb`.`user` (
`uid` ,
`username` ,
`password` ,
`login_time`
)
VALUES (
NULL ,  '$username',  '$password',  '$login_time'

  ";
$result = $conn->query($sql);
header("location:biaodan.php");
